﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DormMS.Model;
using DormMS.Model.SearchModels;
using DormMS.Model.ViewModels;

namespace DormMS.IService
{
    public interface IBedService
    {
        List<V_Bed> GetBedList(BedSearchModel search, ref int total);
        List<Bed> GetBedListByRoomID(int RoomID);
        int BedEdit(Bed model);

        int BedAdd(Bed model);

        Bed GetBedById(int Id);

        Bed GetBedListByBedNOAndBuildingIDAndRoomID(string BedNO, int BuildingId, int RoomId);
    }
}
